<template>
  <view>
    <web-view :src="url"></web-view>
  </view>
</template>

<script>
  export default {
    data() {
      return {
        url:''
      };
    },
    onLoad: function(options) {
        this.url=options.url
        uni.setNavigationBarTitle({
          title:options.title
        })
      },

  }
</script>

<style lang="scss">
.WebIcon{
  position: absolute;
  height: 100px;
  width: 100px;
  background-color: red;
}
</style>
